package com.suzhouhe.util.exception;

/**
 * 业务异常 http异常类型返回
 *
 * @author suzhouhe
 * @date 2020-11-03 11:25
 **/
public class ServiceException extends RuntimeException {

    /**
     * 异常描述
     */
    private String msg;

    public ServiceException(String msg) {
        this.msg = msg;
    }

    /* get set方法  */

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
